package com.crazy.shell.config.linstener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.ApplicationListener;

/**
 * Created by creazier.huang on 16/9/30.
 */
public class AppStartLinstener implements ApplicationListener<ApplicationReadyEvent>{
    private final Logger logger = LoggerFactory.getLogger(AppStartLinstener.class);

    @Override
    public void onApplicationEvent(ApplicationReadyEvent event) {
        logger.info("AppStartLinstener order");
    }
}
